#include <stdio.h>
main( )
{  int  x, aa[1000], n, i ;
   int fun(int aa[],int x);
   printf( "\nPlease enter an integer number:\n" );
   scanf("%d", &x) ;
   n=fun(aa,x);
   for( i = 0 ; i < n ; i++ )
         printf("%d ", aa[i]) ;
   printf("\n") ;
}

int fun(int aa[],int x)
//请在下方函数体填入代码，不要改动上方代码
{
	int a,b=0;
	for(a=1;a<=x;a++){
		if(x%2==0);
		else{if(x%a==0){aa[b]=a;b++;}}
	}
	return b;
}
